#include "xtp_delay.h"

volatile static u32 delay_count = 0;

void delay_ms(u32 ms)
{
    delay_count = ms;
	while(0!=delay_count)
	{
		
	}
}

void delay_decrement(void)
{
    if(0U != delay_count){
        delay_count--;
    }
}
